home *** CD-ROM | disk | FTP | other *** search
/ ADA Programming Guide / ADA Programming Guide.iso / ada_gwu / ed.h < prev    next >
C/C++ Source or Header  |  1996-01-30  |  6KB  |  209 lines

  1. /*
  2.     GWAda Development Environment for 386/486 PCs   
  3.     Copyright (C) 1993, Arthur Vargas Lopes  & Michael Bliss Feldman
  4.                         vlopes@vortex.ufrgs.br mfeldman@seas.gwu.edu
  5.  
  6.     This program is free software; you can redistribute it and/or modify
  7.     it under the terms of the GNU General Public License as published by
  8.     the Free Software Foundation; version 2 of the License.    
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  18. */
  19.  
  20. /* Ed.h */
  21. #include <malloc.h>
  22. #include <fcntl.h>
  23. #include <sys\types.h>
  24. #include <sys\stat.h>
  25. #include <io.h>
  26. #include <dos.h>
  27. #include <bios.h>
  28. #include <errno.h>
  29. #include <stdio.h>
  30. #include <conio.h>
  31. #include <direct.h>
  32. #include <process.h>
  33. #include <stdlib.h>
  34. #include "\gwada\env\edit.h"
  35. #include "\gwada\mon\monitor.h"
  36. #include "\gwada\mon\mon_ext.h"
  37.  
  38. #ifndef AVL_MOUSE_IN
  39. #define AVL_MOUSE_IN
  40. typedef struct {
  41.     short x;
  42.     short y;
  43.     short status;
  44.     } AVL_MOUSE, *AVL_MOUSE_PTR;
  45. #endif
  46.  
  47.  
  48. AVL_MOUSE AVL_MOUSE_STATUS();
  49. void AVL_MOUSE_SET(int x, int y);
  50. void AVL_MOUSE_INIT();
  51. void AVL_MOUSE_ON();
  52. void AVL_MOUSE_OFF();
  53.  
  54. void AVL_HOT_KEYS();
  55. void AVL_WVIDEO(unsigned char x, unsigned char a, short *c);
  56. int AVL_COMP_SETUP(AVL_EDIT_WINDOW_PTR w);
  57. void AVL_COMPILE_CURRENT();
  58. void AVL_COMP_ORDER();
  59. void AVL_BODY();
  60.  
  61. void AVL_RESTORE_ENV();
  62. void AVL_COMP_SMENU(int *rows, int *cols);
  63. void AVL_SHOW_MENU();
  64. void AVL_SHOW_SMENU();
  65. void AVL_CLEAR_LINE();
  66. void AVL_SAVE_AS();
  67. void AVL_REMOVE_BLOCK();
  68. void AVL_CALL_TOOL();
  69. void AVL_MOUNT_TEMPLATE(char *fname);
  70. void AVL_TEMPLATE_ADA_PGM();
  71. void AVL_TEMPLATE_ADA_VECTOR();
  72. void AVL_TEMPLATE_ADA_ACCESS();
  73. void AVL_TEMPLATE_ADA_RECORD();
  74. void AVL_TEMPLATE_ADA_MATRIX();
  75. void AVL_TEMPLATE_ADA_TASK();
  76. void AVL_TEMPLATE_ADA_PACKAGE();
  77. void AVL_TEMPLATE_ADA_GENERIC();
  78. void AVL_TEMPLATE_ADA_SERVER();
  79. void AVL_TEMPLATE_ADA_LOOP();
  80. void AVL_TEMPLATE_ADA_WHILE();
  81. void AVL_TEMPLATE_ADA_IF();
  82. void AVL_TEMPLATE_ADA_CASE();
  83. void AVL_TEMPLATE_ADA_FUNCTION();
  84. void AVL_TEMPLATE_ADA_PROCEDURE();
  85.  
  86. void AVL_HELP_INTRO();   
  87. void AVL_HELP_LEXIE();   
  88. void AVL_HELP_DCLTY();   
  89. void AVL_HELP_NEXPS();   
  90. void AVL_HELP_STMTS();   
  91. void AVL_HELP_SUBPG();   
  92. void AVL_HELP_PACKS();   
  93. void AVL_HELP_VRULE();   
  94. void AVL_HELP_TASKS();   
  95. void AVL_HELP_PSCIS();   
  96. void AVL_HELP_EXCEP();   
  97. void AVL_HELP_GENER();   
  98. void AVL_HELP_RCIDF();   
  99. void AVL_HELP_INOUT();   
  100. void AVL_HELP_ANEXA();   
  101. void AVL_HELP_ANEXB();   
  102. void AVL_HELP_ANEXC();   
  103. void AVL_HELP_ANEXD();   
  104. void AVL_HELP_ANEXE();   
  105. void AVL_HELP_ANEXF();   
  106.  
  107. void AVL_FIND(int no,char *what);
  108. void AVL_SHOW_ASCII();
  109. void AVL_LIST_LIB();
  110. char *AVL_RUN_SELECT(AVL_UNITDT_PTR w);
  111. int AVL_UNIT(AVL_BIND_PTR w, int r);
  112. void AVL_DO_DEL_LINE();
  113. void AVL_NEW_LIB();
  114. void AVL_BIND();
  115. void AVL_ERROR(char *s);
  116. void AVL_TELL(char *s);
  117. void AVL_MAKE_NUMBER();
  118. void AVL_FIX();
  119. void AVL_RESTORE_I23();
  120. void AVL_INSTALL_I23();
  121. void AVL_DO_GOTO(int n);
  122. void AVL_PAUSE(short l);
  123. void AVL_RESET_COLORS();
  124. void AVL_OPEN();
  125. void AVL_OPEN_ERROR();
  126. void AVL_CLOSE();
  127. void AVL_HELP(char *s);
  128. void AVL_FULL_FN(char *s);
  129. void AVL_LINK();
  130. void AVL_DELETE_LINE();
  131. void AVL_ABOUT_GWADA();
  132. void AVL_DOS_CMD();
  133. void AVL_PROCESS_FIND();
  134. void AVL_PROCESS_REPLACE();
  135. void AVL_GUIDE_MBLOCK();
  136. void AVL_PROCESS_COPY();
  137.  
  138. void AVL_SET_DIRECTORIES(); /* Options */
  139. void AVL_SET_PARAMETERS();
  140. void AVL_SET_COLORS();
  141. void AVL_LOAD_OPTIONS();
  142. void AVL_SAVE_OPTIONS();
  143. void AVL_READ_OPTIONS();
  144. void AVL_DEFAULT_OPTIONS();
  145. void AVL_FREE_ALL();
  146. void AVL_SET_TAB();
  147. void AVL_PROCESS_LOAD();
  148.  
  149. void AVL_HELP_EDITOR(); /* Help */
  150. void AVL_HELP_COMPILER();
  151. void AVL_HELP_INTERPRETER();
  152. void AVL_HELP_WINDOW();
  153. void AVL_HELP_BIND();
  154. void AVL_HELP_FILE();
  155. void AVL_HELP_OPTIONS();
  156. void AVL_HELP_GWADA();
  157.  
  158. void AVL_MD_TOOLS();
  159. void AVL_MDH_TOOLS();
  160. void AVL_GET_CDIR();
  161. void AVL_LOAD_FILE(char *fn);
  162. int AVL_PROMPT(short lno, short col,char *s, short max);
  163. void AVL_SHIFT_LEFT(char *s, short pos);
  164. void AVL_REPLACE(int no);
  165. void AVL_WRITE_OUT();
  166. void AVL_INSERT_CODES();
  167. void AVL_CLEAR_BLOCK();
  168. void AVL_MAKE_BLOCK();
  169. void AVL_SCROLL();
  170. void AVL_EXIT();
  171. void AVL_RENUMBER(AVL_LINE_PTR from, int c, int n);
  172. void AVL_LINE_INSERT(AVL_LINE_PTR this,AVL_LINE_PTR  *at);
  173. AVL_LINE_PTR AVL_MAKE_LINE(char *l, int lno);
  174.  
  175. void AVL_SAVE();
  176. void AVL_EDIT_DEL_LINE(int no);
  177. void AVL_READ_IN();
  178. void AVL_UPDATE_SCREEN();
  179. void AVL_UPDATE_CURSOR();
  180. void AVL_EDIT_DEL_LEFT(int no);
  181. void AVL_EDIT_DEL_RIGHT(int no);
  182. void AVL_CURSOR_HOME();
  183. void AVL_CURSOR_END();
  184. void AVL_CURSOR_PGUP();
  185. void AVL_CURSOR_PGDN();
  186. void AVL_CURSOR_LEFT(int no);
  187. void AVL_CURSOR_RIGHT(int no);
  188. void AVL_CURSOR_UP(int no);
  189. void AVL_CURSOR_DOWN(int no);
  190. void AVL_EDIT_ENTER();
  191. void AVL_EDIT_COPY(int no);
  192. void AVL_HSCROLL();
  193. void AVL_UPDATE_STATUS_LINE();
  194. void AVL_ENVIRONMENT(int key);
  195. void AVL_INIT_WINDOW(AVL_EDIT_WINDOW_PTR w, AVL_LINE_PTR first);
  196. char *AVL_MAKE_TXT_LINE();
  197. void AVL_UPDATE_LINE();
  198. void AVL_EDIT_INSERT(int ch);
  199. void AVL_EDIT(char mode);
  200. void AVL_RUN();
  201. void AVL_WINDOW();
  202. void AVL_COMPILE();
  203. char *AVL_BORDER(char *s,short r1, short c1, short r2, short c2,short bk, short co);
  204.  
  205. AVL_WIN_PTR AVL_MAKE_WINDOW(char *s,short r1,short c1,short r2,short c2,short bk, short co);
  206. void AVL_DEL_WINDOW(AVL_WIN_PTR w);
  207. void AVL_GOTO();
  208.  
  209.